package top.roadvast.pdshopping.service.impl;

import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.stereotype.Service;
import top.roadvast.pdshopping.bean.PdLog;
import top.roadvast.pdshopping.mapper.LogMapper;
import top.roadvast.pdshopping.service.LogService;

import javax.annotation.Resource;

/**
 * @Author 郭泽鹏
 * @Date 2021/12/29 9:51
 * @Version 1.0
 * @Description 日志类业务层
 */
@Service
public class LogServiceImpl implements LogService {
    @Resource
    LogMapper logMapper;

    @Override
    public void saveLog(PdLog log) {
        logMapper.insert(log);
    }
}
